//#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "keyboard_handler.h"

/* constructor */
KeyboardHandler::KeyboardHandler( int num ) {
	num_keys = num;
	keys =(unsigned char *)malloc(num);	
}

void KeyboardHandler::read_settings( FILE * fp ) {

	//depends on implementation of settings file
}


/* key handler function. makes higher level calls depending on settins, key */
void KeyboardHandler::key_pressed(unsigned char key, int x, int y) {
  printf("Key: %c pressed at x:%d y:%d\n\n",key,x,y);
    if(key == keys[0])
	1;
       	// call function 
}

